﻿using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Diagnostics.Contracts;

namespace RPGMapRevealer
{
    /// <summary>
    /// Represents a list of tiles
    /// </summary>
    public class TileCollection : Collection<Tile>
    {
        /// <summary>
        /// The lowest X value of any tile in this collection
        /// </summary>
        public int MinX
        { get; set; }
        /// <summary>
        /// The lowest Y value of any tile in this collection
        /// </summary>
        public int MinY
        { get; set; }
        /// <summary>
        /// The largest X value of any tile in this collection
        /// </summary>
        public int MaxX
        { get; set; }
        /// <summary>
        /// The largest Y value of any tile in this collection
        /// </summary>
        public int MaxY
        { get; set; }
    }
}
